Sort = ['系统管理员', '访客', '学生', '教师', '行政', '职工']

def personal_sort_str(prove_obj):
   return Sort[prove_obj.sort]

def personal_admin_index():
    return 0

def personal_admin_str():
   return Sort[personal_admin_index()]

def personal_visitor_index():
    return 1

def personal_visitor_str():
    return Sort[personal_visitor_index()]

def personal_student_index():
    return 2

def personal_student_str():
    return Sort[personal_student_index()]

def personal_teacher_index():
    return 3

def personal_teacher_str():
    return Sort[personal_teacher_index()]

def personal_public_index():
    return 4

def personal_public_str():
    return Sort[personal_public_index()]

def personal_staff_index():
    return 5

def personal_staff_str():
    return Sort[personal_staff_index()]
